GUI Application « Development « JPA Q&A





1. GUI Application using Hibernate    forum.hibernate.org

Hi, I'm trying to use Hibernate (2.1) as the persistence layer of our GUI (Swing) applications. I want to know, for the context of a fat client application (client/server architecture), if it is OK to have a single session for the whole application lifecycle? Everywhere (documentation, tutorials, forums, faqs) it is mentioned that a session is a short-life object. Scenario: - ...